﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ProyectoBastanteo.Dominio
{
    public static class Utilitarios
    {

        public static DateTime FechaActual()
        {
            return DateTime.Now;
        }

        public static int HoraActual()
        {
            return DateTime.Now.Hour;
        }

        public static string conversorFormatos(string cadena)
        {
            return cadena.Substring(0,4);
        }
    }
}